<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>南京天健勤业房地产土地资产评估测绘有限公司-后台系统</title>
  <link rel="stylesheet" href="../css/public.css">
  <link rel="stylesheet" href="../css/style.css">
  <!--引入 fontawesom-4.2.0-->
  <link rel="stylesheet" type="text/css" href="../css/fontawesome-4.2.0/css/font-awesome.min.css">
  <!--[if IE]>
  <link rel="stylesheet" type="text/css" href="fontawesome-4.2.0/css/font-awesome-ie7.min.css">
  <![endif]-->

  <!--引入wangEditor.css-->
  <script type="text/javascript" src="../js/header.js"></script>
</head>
<body>
  <div class="container-login container-news container-psd container-add">
    <div class="nav">
      <div class="login-icon"></div>
      <p class="login-name" id="loginName"></p>
      <ul class="nav-left">
        <a href="news.html"><li class="active">新闻管理</li></a>
        <a href="operatePwd.html"><li>修改密码</li></a>
      </ul>
    </div>
    <form method="post" id="uploadForm" enctype="multipart/form-data">
    <div class="main container-fluid">
      <div class="row">
        <div class="wel-box">
          <h2>网站后台管理系统</h2>
          <div class="login-out" onclick="loginout();"></div>
          <div class="wel-text">
            Welcome！  
            <span>系统管理员</span>
          </div>
        </div>
        <div class="location">
          <h2>添加文章</h2>
          <div class="current-location">当前位置：<span>新闻管理</span>><span>添加文章</span></div>
        </div>
        <div class="add-article">
          <ul class="modify-psd-box">
            <li><label>文章标题：</label>
            	<input type="text" id="title" name="title">
            </li>
            <li>
              <label>栏目类别：</label>
              <select id="news_type">
                <option>--请选择--</option>
              </select>
            </li>
            <li>
            	<label>关键词：</label>
            	<input type="text" id="keyWord" name="keyWord">
            </li>
            <li>
              <label style="float: left;">文章详情：</label>
              <div id='txtDiv' style='border:1px solid #cccccc; width:745px;background-color:#fff;float: left;'></div>
            </li>
          </ul>
          <div class="modify-psd-box upload-pic">
            <div class="upload-box">
              <label style="float: left;line-height: 40px;">首页图片：</label>
              <input class="width196" type="text" id="fileName">
              <span class="file-icon"></span>
              <a href="#" class="upload-file-btn"><input type="file" id="file" name="file" onchange="uploadFile(this,'img_path');">上传</a>
            </div>
            <div class="pic-show-area-box">
              <div class="pic-show-area" id="img_path">
              </div>
              <p>请上传分辨率为195x110像素的图片</p>
            </div>
            
            
          </div>
        </div>
        
        <div class="btn-two">
          <span class="qd" onclick="saveNewsInfo();">提交</span>
          <span class="qx" onclick="window.location.href='news.html'">取消</span>
        </div>
      </div>
    </div>
    </form>
  </div>
</body>
<script type="text/javascript" src="../js/public.js"></script>
<script src="../js/index.js"></script>
<script src="../js/news.js"></script>
</html>